Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Jun 22, 2025

Related GitHub Issue

Closes: #5018

Description

Fix start line extract from tag not pass into start line applyDiffSingle

Test Procedure

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Documentation Updates

Additional Notes

Get in Touch


Important

Fixes start line handling in applySingleDiff to correctly use _paramStartLine in multi-file-search-replace.ts.

  • Bug Fix:
    • Fixes start line handling in applySingleDiff in multi-file-search-replace.ts by using _paramStartLine if provided, ensuring correct line number usage in multiple apply diff scenarios.
  • Behavior:
    • Ensures startLine is set to _paramStartLine or extracted from match in applySingleDiff.
    • Affects how diffs are applied when multiple diffs are processed in applyDiff.
  • Misc:
    • No changes to tests or documentation noted.

This description was created by Ellipsis for 3b96a37. You can customize this summary. It will automatically update as commits are pushed.

@samhvw8 samhvw8 requested review from cte, jr and mrubens as code owners June 22, 2025 16:43
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jun 22, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jun 22, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Jun 22, 2025
@hannesrudolph hannesrudolph added PR - Needs Preliminary Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jun 22, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 23, 2025
@mrubens mrubens merged commit 5bc3af1 into RooCodeInc:main Jun 23, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Prelim Review] to Done in Roo Code Roadmap Jun 23, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 23, 2025
Alorse pushed a commit to Alorse/Roo-Code that referenced this pull request Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Preliminary Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

start line not working on multiple apply diff

3 participants